package com.qztc.hire_end_dto.dto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@TableName("carousel")
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "轮播图信息")
public class Carousel extends Model<Carousel> implements Serializable {
    @Schema(title = "轮播图id")
    @TableId(value = "carousel_id")
    private int carouselId;

    @Schema(title = "轮播图标题")
    @TableField(value = "carousel_title")
    private String carouselTitle;

    @Schema(title = "轮播图URL")
    @TableField(value = "carousel_url")
    private String carouselURL;
}
